import {defineStore} from "pinia";
import {getHeatmap} from "@/service/modules/heap";

const useDiscoverStore = defineStore("heapStore", {
    state: () => ({
        heatMap: []
    }),
    actions: {
        async fetchHeatMap() {
            this.heatMap = await getHeatmap()
        }
    }
})
export default useDiscoverStore
